import request from '@/utils/http-client';

export declare type LoginRequest = {
    UserName: string;
    Password: string;
}
export async function Login_Do(params: LoginRequest): Promise<any> {
    return request({
        url: '/Login/Do',
        method: 'POST',
        data: params,
    });
}

export async function Login_Logout(params: any): Promise<any> {
    return request({
        url: '/Login/Logout',
        method: 'POST',
        data: params,
    });
}